package com.kkb.kkbadmin.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 赵裕源
 * @title 用于按姓名条件查询用户列表dto
 * @projectName kkb-parent-v2
 * @description
 * @date 2021/8/16
 */
@Data
@ApiModel(value = "UserDto对象", description = "用于按姓名条件查询用户列表dto")
@NotNull
public class UserDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户表主键id")
    private Long id;

    @ApiModelProperty(value = "输入搜索框的姓名")
    private String name;
}
